/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package publico;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import fonol.entidades.Candidatos;

/**
 *
 * @author Fredfred2
 */
public class DetallesCandidato extends ActionSupport implements ModelDriven{

    private Candidatos candidato=new Candidatos();
    
    public Candidatos getCandidato() {
        return candidato;
    }

    public void setCandidato(Candidatos candidato) {
        this.candidato = candidato;
    }

    @Override
    public String execute() throws Exception {
        return SUCCESS;
    }

    public Object getModel() {
        return getCandidato();
    }
    
}
